//
//  WSMusicTool.h
//  音乐与视频播放
//
//  Created by ws on 2017/6/17.
//  Copyright © 2017年 王松. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@class WSMusic;
@interface WSMusicTool : NSObject

@property(nonatomic,strong)AVAudioPlayer*ws_player;//播放器

+(instancetype)ws_musicTool;
/**
 音乐播放前的准备工作
 */
-(void)ws_prepareToPlayWithMusic:(WSMusic *)musicModel;
/**
 播放
 */
-(void)ws_play;
/**
 暂停
 */
-(void)ws_pause;
@end
